package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.pojo.ApArticle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: test
 * @Create by: JJ菜菜
 * @Date: 2022/1/2 21:02
 */
@Mapper
public interface ApArticleMapper extends BaseMapper<ApArticle> {

    // 使用映射文件
    List<ApArticle> load(ArticleHomeDto dto);

    List<ApArticle> loadnew(ArticleHomeDto dto);

    List<ApArticle> loadmore(ArticleHomeDto dto);
}
